#! /bin/bash

MINIOHOST="http://$MINIO_SERVER:$MINIO_PORT"
MINIOUSER="$MINIO_ACCESS_KEY"
MINIOPASSWD="$MINIO_SECRET_KEY"
BUCKET="$DUBHE_ENVIRONMENT"

/data/mc alias set admin $MINIOHOST $MINIOUSER $MINIOPASSWD
/data/mc mb admin/$BUCKET
/data/mc policy set public admin/$BUCKET

exit 0
